/**
 * 作弊过滤
 */
angular.module('imsApp').factory('cheatRtsManager', ['$http','api', 'paramsManager', function ($http,api, paramsManager) {
    var cheatRtsManager = {
        /**
         * 获取作弊过滤cuid列表
         */
        cheatRtsCuids: function (params, query) {
            return $http.get(api+'/ims/filterRtCuids/' + paramsManager.params(params) + paramsManager.query(query)).then(function (result) {
                return result;
            });
        },
        /**
         * 获取作弊过滤IP列表
         */
        cheatRtsIps: function (params, query) {
            return $http.get(api+'/ims/filterRtIps/' + paramsManager.params(params) + paramsManager.query(query)).then(function (result) {
                return result;
            });
        }
    }

    return cheatRtsManager;
}]);
